/**
 * 
 */
package com.eej.act.obj;

import java.util.Enumeration;
import java.util.Hashtable;

/**
 * @author jlumietu
 *
 */
public class ListaTaldea extends Hashtable<Integer, Taldea> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public String getStringRepresentation(){
		StringBuffer sb = new StringBuffer();
		for(Enumeration<Integer> keys = this.keys(); keys.hasMoreElements(); ){
			Integer i = keys.nextElement();
			sb.append("ID " + i + "\n" + this.get(i).getStringRepresentation());
		}
		return sb.toString();
	}
	

}
